From 57a851d3a6226f7a62673a79ceb3b265fd1b6a8e Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 11 Oct 2005 10:01:23 +0100 Subject: [PATCH] Fix the legacy %-build targets for dist installation of guest kernels. Signed-off-by: Keir Fraser --- Makefile | 2 +- buildconfigs/Rules.mk | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 10b1fc8715..7b513c6209 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,7 @@ install-tools: $(MAKE) -C tools install install-kernels: - for i in $(XKERNELS) ; do $(MAKE) $$i-build || exit 1; done + for i in $(XKERNELS) ; do $(MAKE) $$i-install || exit 1; done install-docs: sh ./docs/check_pkgs && $(MAKE) -C docs install || true diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk index e44a84e542..19887c5117 100644 --- a/buildconfigs/Rules.mk +++ b/buildconfigs/Rules.mk @@ -87,9 +87,17 @@ ref-%/.valid-ref: pristine-%/.valid-pristine touch $@ # update timestamp to avoid rebuild endif -%-build: +%-install: $(MAKE) -f buildconfigs/mk.$* build +%-dist: DESTDIR=$(DISTDIR)/install +%-dist: %-install + @: # do nothing + +# Legacy dist target +%-build: %-dist + @: # do nothing + %-delete: $(MAKE) -f buildconfigs/mk.$* delete -- 2.30.2